package com.xiezc.dao;

import com.xiezc.entity.StoryContent;
import org.springframework.data.repository.CrudRepository;

import java.util.List;

public interface StoryContentRepository extends CrudRepository<StoryContent, Integer> {

    List<StoryContent> findByUrl(String url);

    List<StoryContent> findById(int id);
}
